from common.common_object import CommonObject


class Handle(CommonObject):

    @classmethod
    def handle_query(cls, query_str):
        """

        :param query_str:
        :return: list
        """
        rs = [{
            'text': query_str,
            'subtext': query_str,
            'completion': query_str,
            'actions': [],
        }]
        return rs
        pass

    @classmethod
    def before_query(cls, query_model):
        pass

    @classmethod
    def after_query(cls, query_model):
        pass
    pass

